<?php
    /**
     * Created by PhpStorm.
     * User: huangzhongwei
     * Date: 2018/10/23
     * Time: 15:04
     */

    namespace app\api\validate;


    class RegisterUser extends BaseValidate
    {
        protected $rule = [
            'telephone' => 'require|isMobile',
            'password'  => 'require|isNotEmpty',
            'confirm_password'      => 'require|confirm:password',
            'captcha'   => 'require|isNotEmpty|between:100000,999999',
            ];

        protected  $message=[
            'captcha.between'=>"验证码错误"
        ];

    }